package top.lyunz.fangkeji.service;

import java.util.List;

import top.lyunz.fangkeji.bean.Equipment;
import top.lyunz.fangkeji.bean.pageselect;

public interface equipmentService {
	List<Equipment> getAllEquipments(int cId);

	List<Equipment> getByPageEquipments(pageselect pageselect);

	int equipmentAdd(Equipment equipment);

	Equipment getEquipmentBySn(String sN);

	int updEquipmentByeId(Equipment equipment);

	Equipment getEquipmentByeId(int eid);

	int updEquipmentByesN(Equipment equipment);

	List<Equipment> getEquipmentsByCidAndLikeeName(Equipment equipment);
	
	int delEquipments(int eId);
}
